import fetch from '../fetch';

export async function signIn(data) {
  const opt = {
    url: '/signIn',
    method: 'post',
    data,
  };
  return fetch(opt);
}

export async function signUp(data) {
  const opt = {
    url: '/signUp',
    method: 'post',
    data,
  };
  return fetch(opt);
}

export async function getAllUsers(data) {
  const opt = {
    url: '/getAllUsers',
    data,
  };
  return fetch(opt);
}
